home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / system / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / Sim68000 / loader / Loader.hxx < prev    next >
Encoding:
Text File  |  1995-07-26  |  1.2 KB  |  46 lines

  1. /////////////////////////////////////////////////////////////////////////////// //
  2. // $Id: Loader.hxx,v 1.1 1994/02/18 20:19:08 bmott Exp $
  3. /////////////////////////////////////////////////////////////////////////////// //
  4. // Loader.hxx
  5. //
  6. // Load object files
  7. //
  8. // Sim68000 "Motorola 68000 Simulator"
  9. // Copyright (c) 1993
  10. // By: Bradford W. Mott
  11. // November 5,1993
  12. //
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // $Log: Loader.hxx,v $
  15. // Revision 1.1  1994/02/18  20:19:08  bmott
  16. // Initial revision
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19.  
  20. #ifndef LOADER_HXX
  21. #define LOADER_HXX
  22.  
  23. #include <iostream.h>
  24. #include <fstream.h>
  25.  
  26. #include "BasicLoader.hxx"
  27.  
  28. ///////////////////////////////////////////////////////////////////////////////
  29. // The Loader Class
  30. ///////////////////////////////////////////////////////////////////////////////
  31. class Loader : public BasicLoader {
  32.   private:
  33.     // Load in a Motorola S-Record file
  34.     String LoadMotorolaSRecord(fstream& file, int space);
  35.  
  36.   public:
  37.     Loader(BasicCPU* c)
  38.         : BasicLoader(c)
  39.     {};
  40.  
  41.     // Load the file into the addr space (Error Message or "" is returned)
  42.     String Load(const char *filename, int space);
  43. };
  44.  
  45. #endif
  46.